﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Parent_Detail.aspx.cs" Inherits="TagAdd" ValidateRequest="false" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>50CMS后台框架</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../50/style.css" rel="stylesheet" />
            <link href="../css/plugins/iCheck/custom.css" rel="stylesheet">   
</head>
<body class="gray-bg">
    <form id="form1" runat="server" class="form-horizontal m-t">
        <div class="wrapper animated fadeInRight">
            <div class="row">
                <div class="col-sm-12">

                    <div class="ibox-content">
                        <div class="panel-body">
                            <div class="form-group">
                                <div class="col-sm-12" style="margin-top: 1em;">
                                    上级手机号码：<asp:Label ID="txtTel" runat="server" Text="Label"></asp:Label>
                                </div>
                                <div class="col-sm-12" style="margin-top: 1em;">
                                    上级唯一标识符：<asp:Label ID="txtUGuid" runat="server" Text="Label"></asp:Label>
                                </div>

                                <div class="col-sm-12" style="margin-top: 1em;">
                                    <label class="col-sm-2 control-label">修改上级唯一标识符：</label>
                                    <div class="col-sm-6">
                                        <asp:TextBox ID="txtParentUGuid" runat="server" type="text" class="form-control" 
                                            aria-required="true" MaxLength="50" HintTitle="上级唯一标识符" HintInfo="填写并确定后，可修改改会员上级”。"></asp:TextBox>
                                    </div>
                                </div>
     
                                <%--<div class="col-sm-12" style="margin-top: 1em;">
                                    <label class="col-sm-2 control-label">修改星级：</label>
                                    <div class="col-sm-6">
                                 
                                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="checkbox-inline i-checks">
                                            <asp:ListItem Selected="True">1</asp:ListItem>
                                            <asp:ListItem>2</asp:ListItem>
                                             <asp:ListItem>3</asp:ListItem>
                                            <asp:ListItem>4</asp:ListItem>
                                             <asp:ListItem>5</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </div>
                                </div>--%>

                                <div class="col-sm-12" style="margin-top: 1em;">
                                    <label class="col-sm-2 control-label">状态：</label>
                                    <div class="col-sm-10">
                                <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="checkbox-inline i-checks">
                                         <asp:ListItem Value="-1">锁定 </asp:ListItem>
                                         <asp:ListItem Value="0">会员 </asp:ListItem>
                                         <asp:ListItem Value="1">VIP </asp:ListItem>
                                         <asp:ListItem Value="2">快递站 </asp:ListItem>
                                          <asp:ListItem Value="3">大区 </asp:ListItem>
                                        </asp:RadioButtonList>

                                    </div>
    
                                </div>


                                <div class="col-sm-12" style="margin-top: 1em;">
                                    <label class="col-sm-2 control-label">会员有效期：</label>
                                    <div class="col-sm-6">
                                 
              <asp:TextBox ID="txtRQ" runat="server" CssClass="laydate-icon form-control layer-date"  maxlength="100" HintTitle="会员有效期" HintInfo="会员有效期" ></asp:TextBox>
                                   
                                        
                                    </div>
                                </div>
                                    




                                <div class="form-group" style="margin-top: 1em;">
                                    <div class="col-sm-8 col-sm-offset-3" style="margin-top: 2em;">
                                        <asp:Button ID="Button1" runat="server" Text="确定修改" class="btn btn-primary" OnClick="Button1_Click" />
                                    </div>
                                </div>




                                
                                <div class="col-sm-12" style="margin-top: 1em;">
                                       <asp:Repeater ID="rptList" runat="server">
                                <HeaderTemplate>
                                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="10">
                                        <thead>
                                            <tr>
                                                <th align="center">级别</th>
                                                <th align="center">到期时间</th> 
                                                
                                                <th align="center">操作类型 </th>
                                                 <th align="center">操作人 </th>
                                              
                                                <th align="center">修改时间</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr class="gradeX">
                                                   <td><%#_rky.getUstat(Eval("Ustate").ToString())%></td>
                                           <td>
                                               <%#Eval("endTime")%>
                                             
                                           </td>


                                                 <td>  <%#Eval("LogRenType")%>   
                                           </td>
                                                 <td>     <%#Eval("logRen")%>   
                                           </td>
                                        
                                            <td>     <%#Eval("logTime")%>     </td>
          
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </tbody>
                                </table>
                                </FooterTemplate>
                            </asp:Repeater>

                          </div>



                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>

    <!-- 全局js -->
    <script src="../js/jquery.min.js?v=2.1.4"></script>
    <script src="../js/bootstrap.min.js?v=3.3.6"></script>
    <script src="../50/function.js"></script>
        <script src="../js/plugins/iCheck/icheck.min.js"></script>
    <!-- 自定js -->
    <script type="text/javascript" src="../js/layer/layer.js"></script>
            <script src="../js/plugins/layer/laydate/laydate.js" type="text/javascript"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            $('.i-checks').iCheck({
                radioClass: 'iradio_square-green',

            });
        });

        if (typeof (Close) != "undefined") {
            layer.msg('保存成功，正在返回', {
                time: 2000, //20s后自动关闭 
            }, function () {
                    var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
                    parent.layer.close(index); //执行关闭
                });
        }

        laydate.skin('yalan')
        var start = {
            elem: "#txtRQ",
            format: "YYYY/MM/DD hh:mm:ss",
            max: "2099-06-16 23:59:59",
            istime: true,
            istoday: false,
            choose: function (datas) {
                end.min = datas;
                end.start = datas
            }
        };

        laydate(start);
        $('#txtRQ').val(laydate.now(1000, 'YYYY-MM-DD'));

    </script>


          


</body>
</html>
